package week03.starbucks_ex;

public class Latte implements IDrink {
    private double price = 33;
    protected IDrink getprice;
    public Latte (IDrink getprice){
        super();
        this.getprice=getprice;
    }
    @Override
    public double getPrice() {
        System.out.println("Latte: "+price);
        getprice.getPrice();
        return price;
    }
}
